package com.dongdong.zhuangji.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dongdong.zhuangji.entity.PileData;
import com.dongdong.zhuangji.entity.dto.TimeForCountCompletedPilesDao;

import javax.servlet.http.HttpServletResponse;
import java.util.Date;
import java.util.List;


public interface PileDataService extends IService<PileData> {
     boolean updateById(PileData pileData);
     void createPuringTable(int id, HttpServletResponse response);
     void createPuringTabletoMinio(int id, HttpServletResponse response);
     Integer countCompletedPiles(); // 统计已完成浇筑的桩基数量
     PileData getPileDataByPileNumber(String pileNumber);
     void createPuringTable2toMinio(int id, HttpServletResponse response);
     Page<PileData> getPileDataByPouringTimeRange(int pageNum, int pageSize, TimeForCountCompletedPilesDao timeForCountCompletedPilesDao );
     void createQuantityTableforPileToMinimo(TimeForCountCompletedPilesDao timeForCountCompletedPilesDao, HttpServletResponse response);
}    